package com.flyco.modules.stm.vo;

import java.util.List;
import com.flyco.modules.stm.entity.StmConvert;
import com.flyco.modules.stm.entity.StmConvertItem;
import lombok.Data;
import com.flyco.poi.excel.annotation.Excel;
import com.flyco.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * @Description: 门店转换单表
 * @Author: flyco
 * @Date:   2021-01-19
 * @Version: V1.0
 */
@Data
@ApiModel(value="stm_convertPage对象", description="门店转换单表")
public class StmConvertPage {

	/**id*/
	private Long id;
	/**店铺id*/
  	@Excel(name = "店铺id", width = 15)
	private Long storeId;
	/**转换单编号*/
  	@Excel(name = "转换单编号", width = 15)
	private String convertSn;
	/**状态(0：已创建，1：已提交，3：已审核，4:已取消，5：已完成)*/
  	@Excel(name = "状态(0：已创建，1：已提交，3：已审核，4:已取消，5：已完成)", width = 15)
	private Integer status;
	/**转换原因*/
	@Excel(name = "转换原因", width = 15)
	private String content;
	/**转换操作人*/
  	@Excel(name = "转换操作人", width = 15)
	private String convertBy;
	/**转换操作时间*/
  	@Excel(name = "转换操作时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date convertTime;
	/**创建人*/
  	@Excel(name = "创建人", width = 15)
	private String createBy;
	/**创建时间*/
  	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date createTime;
	/**更新人*/
  	@Excel(name = "更新人", width = 15)
	private String updateBy;
	/**更新时间*/
  	@Excel(name = "更新时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
  	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private java.util.Date updateTime;

	@ExcelCollection(name="门店转换单明细表")
	@ApiModelProperty(value = "门店转换单明细表")
	private List<StmConvertItem> stmConvertItemList;
	
}
